package com.bdegopro.android
import android.os.Bundle
import android.content.pm.PackageManager
import android.content.pm.ApplicationInfo
import android.util.Log
import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity() {

    override
    fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        window.setBackgroundDrawableResource(R.drawable.launch_background)
        val pm: PackageManager = getPackageManager()
        val appInfo: ApplicationInfo = pm.getApplicationInfo(getPackageName(), PackageManager.GET_META_DATA)
        val channelName =  appInfo.metaData.getString("channel_name")
        Log.e("11","================================"+channelName)
    }
}

